﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NG
{
    class Industry
    {
        protected int mindNum;
        protected string mindName;
        protected string mindDesc;
        protected string minExt;
       
        
        public Industry(int num, string name, string desc, string ext )
        {
            this.mindNum = num;
            this.mindName = name;
            this.mindDesc = desc;
            this.minExt = ext;
        }
        public Industry(string name, string desc,string ext)
        {
            this.mindName = name;
            this.mindDesc = desc;
            this.minExt = ext;
        }

        public int industryNum
        {
            get
            {
                return mindNum;
            }
            set
            {
                this.mindNum = value;
            }

        }
        public string industryName
        {
            get
            {
                return mindName;
            }
            set
            {
                this.mindName = value;
            }
        }
        public string industryDesc
        {
            get
            {
                return mindDesc;
            }
            set
            {
                this.mindDesc = value;
            }
        }

        public string industryExt
        {
            get
            {
                return minExt;
            }
            set
            {
                this.minExt = value;
            }
        }
        public override string ToString()
        {
            return mindNum + ":" + mindName;
        }
       
    }

   
}
